/**
 * @description 广告
 */
//公用样式 
require('../../assets/css/index.less')
// 当前页面样式
require('./advertisement.less')

// require("animate.css")
import 'animate.css';
// 工具函数 utils
const dom = require('../../utils/dom.js')

// DOM加载事件
dom.ready(() => {
    let timer = setInterval(() => {
        dom.getEle("#cd").textContent -= 1;
        if (dom.getEle("#cd").textContent == 1)location.href = "login.html"
    }, 1000)
    dom.addEvent("#skip", function () {
        location.href = "login.html"
    })
})
